import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/System/HelloWorld'
import index from '@/components/index/index'
import Setting from '@/components/System/Setting'
import Login from '@/components/System/Login'
import navigation from '@/components/System/navigation'
import SoftwareCore from '@/components/Software/SoftwareCore'
import SoftwareRealTime from '@/components/Software/SoftwareRealTime'
import SoftwareApi from '@/components/Software/SoftwareApi'
import Dictionary from '@/components/Information/Dictionary'
import Announcement from '@/components/Information/Announcement'
import Inbox from '@/components/News/Inbox'
import Notice from '@/components/News/Notice'
import ProjectMembers from '@/components/Member/ProjectMembers'
import ExperienceMembers from '@/components/Member/ExperienceMembers'
import CourseManagement from '@/components/Information/CourseManagement'
import versionReview from '@/components/Information/versionReview'
import SchoolINfo from '@/components/Information/SchoolINfo'
import userNavigation from '@/components/userView/System/navigation';
import userIndex from '@/components/userView/System/index';
import userSetting from '@/components/System/SettingView/userSetting';
import NewsManagement from '@/components/System/SettingView/NewsManagement'
import Societies from '@/components/Information/Societies';

Vue.use(Router)

export default new Router({
  routes: [
    {
    path:'/',
    name:'userNavigation',
    component:userNavigation,
    children:[{
      path: '/',
      name: '用户首页',
      component: userIndex
    }]
  }
  ]
})
